package com.base.entity;

import com.base.entity.OrderEntity;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@ToString
@Data
public class OrderEntity  implements Serializable {

    private Long id;
    // 订单名称
    private String orderName;
    // 订单时间
    private Date orderCreatetime;
    // 下单金额
    private Double orderMoney;
    // 订单状态
    private int orderState;
    // 商品id
    private Long commodityId;
    // 订单id
    private String orderId;

}

